/**
 * @file   thread_led.h
 * @brief  LED控制线程相关文件对外声明
 * @encode UTF-8
 * @log    date        author      notes
 *         2021.06.17  Jimmy       first version
 */


#ifndef  __THREAD_LED_H
#define  __THREAD_LED_H

#include "rtthread.h"
#include "stm32f4xx.h"

typedef enum
{
  LED_0 = 0,
  LED_1,
  LED_2,
  LED_ALL
}led_e;

typedef enum
{
  LED_OFF = 0,
  LED_ON
}led_status_e;





/**
 * @brief  LED操作 
 * @param  led_e led_num        :  led
 * @param  led_status_e status  :  状态
 * @retval none
 */
extern void led_control(led_e led_num, led_status_e status);

#endif  /* __THREAD_LED_H */
/* End of file */
